home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / pcroct89.arc / BATCH.ARC / QPRINT.BAT < prev   
DOS Batch File  |  1990-03-21  |  386b  |  19 lines

  1. @echo off
  2. rem prints files as requested
  3. rem requires DOS ver. 3.3, inputset.txt
  4.  
  5. :begin
  6. echo Type name (& path) of file to print, or Q to quit.
  7. echo Press F6, then Enter when finished.
  8. copy inputset.txt+con inputset.bat>nul
  9. call inputset
  10. if "%INPUT%"=="Q" goto cleanup
  11. if "%INPUT%"=="q" goto cleanup
  12. type %INPUT%>prn
  13. goto begin
  14.  
  15. :cleanup
  16. set INPUT=
  17. del inputset.bat
  18.  
  19.